# @File ：base.py
# -*- encoding: utf-8 -*-
# @Time: 2021/10/3 22:19
# @Author: niu run peng


from bases.base import APIBase


class WorkWeiXinBase(APIBase):
    access_token = ''

    def route_add_token(self, route):
        """为企业微信接口的请求路径添加token参数"""
        return f'{route}?access_token={self.access_token}'

    def header_process(self, *args):
        """header处理 比如根据请求数据生成sign"""
        ...
